Added confirmation for deleting a task