The former director of a Co Tyrone community group caught in a sting by a paedophile-hunter group has admitted attempting to communicate sexually with a child.