public static void RegisterHotkey(Hotkey hotkey)
 {
     _hotkeys.Add(hotkey);
 }
 public static void UnregisterHotkey(Hotkey hotkey)
 {
     _hotkeys.RemoveAll(key => key.Equals(hotkey));
 }
 public static void RegisterHotkey(Action action, Hotkey key)
 {
     key.Action = action;
     RegisterHotkey(key);
 }