Removed unnecessary function to add hotkeys to hotkeysArray