public override void OnReceive(Context context, Intent intent) { string medId = intent.GetStringExtra(DiseaseActivity.MED_ID); string boalaId = intent.GetStringExtra(DiseaseActivity.BOALA_ID); string hourId = intent.GetStringExtra(DiseaseActivity.HOUR_ID); Storage.GetInstance().GetListOfDiseasesFromFile(context); _mDisease = Storage.GetInstance().GetDisease(boalaId); if (_mDisease == null) { return; } _mMed = _mDisease.GetMedicineById(medId); if (_mMed == null) { return; } _mHour = _mMed.FindHourById(hourId); // if (Utils.GetDefaults("Token", context) == null) return; if (string.IsNullOrEmpty(Utils.GetDefaults("Token"))) { return; } LaunchAlarm(context, medId, boalaId); }