Function createHarmonizedShortcutByKeyboardEvent