Fix Delete Task feature