Fixed 'Enter' hotkey to edit commands.