hotkeys: Remove unused imports
hotkeys: Remove unused parameter and dead code
hotkeys: Reduce level of indentation