bug(task): Add task event not fired

Instead of the add task event the update task event is fired