Add break after finding first matching entry in the menu that starts with key pressed