/** This class is a Fragment. Check for the method you have chosen. */
 @Override
 public void onAttach(Activity activity) {
   super.onAttach(activity);
   mContext = (FragmentActivity) activity;
   Bundle args = getArguments();
   mTypeOfNotice = args.getInt(NOTICE_TYPE_KEY);
   // mSuccessfulChecksRequired = args.getInt(SUCCESSFUL_CHECKS_REQUIRED_KEY);
   // mNotificationIconResId = args.getInt(NOTIFICATION_ICON_RES_ID_KEY);
   checkForUpdates();
 }