- improving TaskLifeCycleEventListener to get all the important events about the task lifecycle