Add TaskBuilder instantiation and startDateTime, endDateTime instantiation for AddHandler execute function in order to create a task.