private static void initShortcutTracker() {
    KeymapManager keymapManager = ApplicationManager.getApplication().getServiceIfCreated(KeymapManager.class);
    if (keymapManager != null) {
      updateShortcut(keymapManager);
    }
    ApplicationManager.getApplication().getMessageBus().connect().subscribe(KeymapManagerListener.TOPIC, new KeymapManagerListener() {
      @Override
      public void activeKeymapChanged(@Nullable Keymap keymap) {
        if (keymap == null) {
          registerDblCtrlClick();
        }
        else {
          updateShortcut(KeymapManager.getInstance());
        }
      }

      @Override
      public void shortcutsChanged(@NotNull Keymap keymap, @NonNls @NotNull Collection<String> actionIds, boolean fromSettings) {
        if (actionIds.contains(RUN_ANYTHING_ACTION_ID)) {
          updateShortcut(KeymapManager.getInstance());
        }
      }
    });
  }
private static void initShortcutTracker()