Enter key press method changed