Handle enter key for input in recommendation editing