@Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.nutrition_monthly_home);
    setTitle(
        String.format(
            getString(R.string.sub_app_name_nut),
            getString(R.string.nutrition_monthly_report_label)));
    Log.d(TAG, "onCreate NutritionMonthlyHome");

    SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this);

    is_urenam = sharedPrefs.getBoolean("hc_is_urenam", false);
    is_urenas = sharedPrefs.getBoolean("hc_is_urenas", false);
    is_ureni = sharedPrefs.getBoolean("hc_is_ureni", false);

    if (!is_urenam && !is_urenas && !is_ureni) {
      AlertDialog.Builder prefCheckBuilder = new AlertDialog.Builder(this);
      prefCheckBuilder.setCancelable(false);
      prefCheckBuilder.setTitle(getString(R.string.nutrition_level_missing_title));
      prefCheckBuilder.setMessage(getString(R.string.nutrition_level_missing_body));
      prefCheckBuilder.setIcon(R.drawable.ic_launcher);
      prefCheckBuilder.setPositiveButton(
          R.string.go_to_preferences,
          new DialogInterface.OnClickListener() {
            public void onClick(DialogInterface dialog, int which) {
              // close the dialog (auto)
              // close the nutrition activity
              finish();
              // go to preferences
              Intent intent = new Intent(getApplicationContext(), Preferences.class);
              startActivity(intent);
            }
          });
      AlertDialog prefCheckDialog = prefCheckBuilder.create();
      prefCheckDialog.show();
    } else {
      Log.d(TAG, "requestForResumeReport NutritionURENAMReportData");
      NutritionMonthlyReportData monthlyReport = NutritionMonthlyReportData.get();
      monthlyReport.updateUren(is_urenam, is_urenas, is_ureni);
      if (monthlyReport.atLeastOneIsComplete()) {
        requestForResumeReport(this, NutritionMonthlyReportData.get());
      }
      setupSMSReceiver();
      setupUI();
    }
  }