anchor.diff:  
       // Enable timer, must wait duration before next method execution
       ongoingScanner = new Timer.periodic(
  -        Duration(minutes: 3), (Timer t) => startScan());
  +        Duration(minutes: waitTime), (Timer t) => startScan());
     }
   
     // Start a bluetooth scan of determined second duration and listen to results
     startScan() async {
  - // print("IN BACKGROUND AT THE BEGINNING IS: " + inBackground.toString());
       String previousState = await _storage.read(key: "previousState");
   
       if (inBackground){
  
positive.code: 
    Future instantiateScannedObjects() async {
      var savedDevices = await _storage.readAll();
      print("storage size: " + savedDevices.length.toString());
      savedDevices.forEach((key, value) {
        print("Key: $key");
        print("Value: $value");
        if (key == "previousState") {}
        else if(key == "lastBackgroundScan"){}
        else if (key == "storageTime") {}
  
negative.code: 
    //Remove devices that are no longer scanned
    void removeNoncontinuousDevices() {
      scannedObjects.removeWhere((key, value) {
        bool isDeviceContinuous = checkDeviceDwellTime(value);
        if (!isDeviceContinuous &&
            value.scanIntervalAllowancesUsed >= scanIntervalAllowance) {
          return true;
        } else if (!isDeviceContinuous &&
            value.scanIntervalAllowancesUsed < scanIntervalAllowance) {
  