@Override
 protected void onActivityResult(int request, int result, Intent intent) {
   if (request == REQUEST_CONFIG_WIFI_CHANNEL) {
     if (result == RESULT_OK) {
       Toast toast = Toast.makeText(context, "Configuration Complete", Toast.LENGTH_LONG);
       toast.setGravity(Gravity.CENTER, 0, 0);
       showToast(toast);
     }
   }
   if (request == LaunchActivityConstantsList.FTC_ROBOT_CONTROLLER_ACTIVITY_CONFIGURE_ROBOT) {
     if (result == RESULT_OK) {
       Serializable extra =
           intent.getSerializableExtra(FtcRobotControllerActivity.CONFIGURE_FILENAME);
       if (extra != null) {
         utility.saveToPreferences(extra.toString(), R.string.pref_hardware_config_filename);
         utility.updateHeader(
             Utility.NO_FILE,
             R.string.pref_hardware_config_filename,
             R.id.active_filename,
             R.id.included_header);
       }
     }
   }
 }