Fix editing a task