fix 'Tab' doesn't behave as 'enter' when defined as a selection key