added extra functionality to edit a task's title/name