public override void OnReceive(Context context, Intent intent)
        {
            _workStorage  = AndroidObjectFactory.GetWorkStorage(context);
            _userStorage  = AndroidObjectFactory.GetUserStorage(context);
            _eventService = AndroidObjectFactory.GetEventService();
            if (!(_userStorage.GetIsLoggedIn() & (!_workStorage.GetIsAtWork())))
            {
                return;
            }
            _workStorage.SaveEntryDate(DateTime.Now);
            _workStorage.SaveAtWork(true);

            _eventService.Add(new StartWorkEvent(DateTime.Now));
        }
        public override void OnReceive(Context context, Intent intent)
        {
            _userStorage  = AndroidObjectFactory.GetUserStorage(context);
            _workStorage  = AndroidObjectFactory.GetWorkStorage(context);
            _eventService = AndroidObjectFactory.GetEventService();
            if (!(_userStorage.GetIsLoggedIn()) & _workStorage.GetIsAtWork())
            {
                return;
            }
            _workStorage.SaveLeavingDate(DateTime.Now);
            _workStorage.SaveAtWork(false);

            _eventService.Add(new EndWorkEvent(DateTime.Now));

            SummaryNotify(context);
        }