disable menu shortcut while typing