Added deletion of tasks