anchor.diff:    Future<void> updateCount(String id, Map<String, dynamic> body) async {
       _isLoading = true;
       _curId = id;
  -
       notifyListeners();
  -
       await updateRegisteredEvents(_registeredEvents);
   
       if (await _freeFoodService.updateCount(id, body)) {
         _freeFoodModel = _freeFoodService.freeFoodModel;
         _lastUpdated = DateTime.now();
       } else {
  -      if (_error.contains(ErrorConstants.invalidBearerToken)) {
  +      _error = _freeFoodService.error;
  +      if (_error != null &&
  +          _error.contains(ErrorConstants.invalidBearerToken)) {
           if (await _freeFoodService.getNewToken()) {
             await updateCount(id, body);
           }
         }
  -
  -      _error = _freeFoodService.error;
         removeId(id);
       }
   
  
positive.code:       _lastUpdated = DateTime.now();
        _messageToMaxCount[id] = _freeFoodModel.body.maxCount;
      } else {
        if (_error != null &&
            _error.contains(ErrorConstants.invalidBearerToken)) {
          if (await _freeFoodService.getNewToken()) {
            await fetchMaxCount(id);
          }
        }
  
        _error = _freeFoodService.error;
        // if error, remove the current event from local maps
        removeId(id);
      }
  
  
negative.code:       _lastUpdated = DateTime.now();
        _messageToCount[id] = _freeFoodModel.body.count;
      } else {
        _error = _freeFoodService.error;
        if (_error != null &&
            _error.contains(ErrorConstants.invalidBearerToken)) {
          if (await _freeFoodService.getNewToken()) {
            await fetchCount(id);
          }
        }
        removeId(id);
      }
      _isLoading = false;
  