code: private void adaptNextButton() {
          if (nextButton != null) {
              nextButton.setText(nextButtonText.toString().toUpperCase(Locale.getDefault()));
              nextButton.setOnClickListener(createNextButtonListener());
          }
      }
docs: Adapts the dialog's next button.