Fixed bug with hotkey code sharing