Add enter action to input field