Refactor: moved event handling for next-task-name editing to the view