code: private void adaptFinishButton() {
          if (finishButton != null) {
              finishButton.setText(finishButtonText.toString().toUpperCase(Locale.getDefault()));
              finishButton.setOnClickListener(createFinishButtonListener());
          }
      }
docs: Adapts the dialog's finish button.