@Override
  protected void registerCustomListeners(@NotNull MessageBusConnection connection) {
    final class Listener implements DumbService.DumbModeListener {
      volatile boolean isDumbMode;

      @Override
      public void enteredDumbMode() {
        isDumbMode = true;
        update();
      }

      @Override
      public void exitDumbMode() {
        isDumbMode = false;
        update();
      }
    }

    connection.subscribe(DumbService.DUMB_MODE, new Listener());
  }
@Override
  protected void registerCustomListeners(@NotNull MessageBusConnection connection)