Fix typo on edit task handler