revised the HotKeyManager usage