Fix bug with enter key detect on task add