protected void updateActionsOnAdd() {
    if (isShowing()) {
      updateActionsImmediately();
    }
    else {
      UiNotifyConnector.doWhenFirstShown(this, () -> {
        if (myForcedUpdateRequested && myLastUpdate == null) { // a first update really
          updateActionsImmediately();
        }
      });
    }
  }
protected void updateActionsOnAdd()