How to edit a task or an appointment