added 'enter' key press to submit a todo item to the list