Fixed can’t reregister shortcut after reload page.