Now able to delete tasks. Bug when the task was added in the same session