Fix editing of task