private void setNextButtonText(int resId) {
   if (mNavigationBar != null) {
     mNavigationBar.getNextButton().setText(resId);
   }
 }
 public void onNavigationBarCreated(final NavigationBar bar) {
   mNavigationBar = bar;
   bar.setNavigationBarListener(this);
   SetupWizardUtils.setImmersiveMode(this);
 }
 private void setNextButtonEnabled(boolean enabled) {
   if (mNavigationBar != null) {
     mNavigationBar.getNextButton().setEnabled(enabled);
   }
 }