code: private void configureButtonBarDialogBuilder(
              @NonNull final AbstractButtonBarDialogBuilder builder) {
          if (shouldNegativeButtonBeShown()) {
              builder.setNegativeButton(getNegativeButtonText(), createNegativeButtonListener());
          }
  
          if (shouldNeutralButtonBeShown()) {
              builder.setNeutralButton(getNeutralButtonText(), createNeutralButtonListener());
          }
  
          if (shouldPositiveButtonBeShown()) {
              builder.setPositiveButton(getPositiveButtonText(), createPositiveButtonListener());
          }
  
          builder.stackButtons(shouldStackButtons());
          builder.showButtonBarDivider(shouldButtonBarDividerBeShown());
      }
docs: Configures a builder, which allows to create button bar dialogs, depending on the app's
  settings.
  
  @param builder
  The builder, which should be configured as an instance of the class {@link
  AbstractButtonBarDialogBuilder}