A man accused of deliberately setting a house ablaze in Co Tyrone, injuring 12 people, previously tried to set fire to his father’s house, a court has heard.