static @Nullable Pair<Map<Long, ActionGroup>, Customizer> getProjectDefaultActionGroup() {
    if (ENABLE_FN_MODE) {
      LOG.debug("use FN-actions group for default actions");
      return getFnActionGroup();
    }

    @Nullable Map<Long, ActionGroup> defaultGroup = getActionGroup(DEFAULT_ACTION_GROUP);
    if (defaultGroup == null) {
      return null;
    }

    // Create hardcoded customizer for project-default touchbar
    // TODO: load customizer from xml or settings
    Customizer customizer = new Customizer(
      null /*project-default touchbar never replaces esc-button*/,
      null /*project-default touchbar mustn't be closed because of auto-close actions*/,
      (parentInfo, butt, presentation) -> {
        final String actId = ActionManager.getInstance().getId(butt.getAnAction());

        final boolean isRunConfigPopover = "RunConfiguration".equals(actId);
        final boolean isOpenInTerminalAction = "Terminal.OpenInTerminal".equals(actId);
        if (isRunConfigPopover || isOpenInTerminalAction) {
          butt.setText(presentation.getText());
          butt.setIconFromPresentation(presentation);
        } else {
          TouchbarActionCustomizations customizations = parentInfo == null ? null : parentInfo.getCustomizations();
          butt.setIconAndTextFromPresentation(presentation, customizations);
        }

        if (isRunConfigPopover) {
          if (presentation.getIcon() != AllIcons.General.Add) {
            butt.setHasArrowIcon(true);
            butt.setLayout(RUN_CONFIG_POPOVER_WIDTH, 0, 5, 8);
          } else {
            butt.setHasArrowIcon(false);
            butt.setLayout(0, 0, 5, 8);
          }
        } else if (butt.getAnAction() instanceof WelcomePopupAction) {
          butt.setHasArrowIcon(true);
        }
    });
    return Pair.create(defaultGroup, customizer);
  }
static @Nullable Pair<Map<Long, ActionGroup>, Customizer> getProjectDefaultActionGroup()