How to delete a task or an appointment