Add functions to add and remove events to hotkeys