activeTask function populated with task modifier eventListeners
. a duplicate of print tasks with a different target
. this function and printTasks need to be merged