anchor.diff: -
   import 'dart:async';
  -import 'dart:developer';
   import 'dart:io';
   import 'dart:math';
  +
   import 'package:flutter/cupertino.dart';
   import 'package:flutter/material.dart';
   import 'package:flutter/services.dart';
   import 'package:flutter_blue/flutter_blue.dart';
  +import 'package:flutter_secure_storage/flutter_secure_storage.dart';
   import 'package:location/location.dart';
  -import 'package:flutter_secure_storage/flutter_secure_storage.dart';
  -
   
   class BluetoothLoggerView extends StatefulWidget {
  -
  -
     @override
     State<StatefulWidget> createState() => _BluetoothLoggerViewState();
   }
   
   class _BluetoothLoggerViewState extends State<BluetoothLoggerView> {
  -
     final _storage = FlutterSecureStorage();
     List<_SecItem> _items = [];
     int _counter = 0;
     int _scanNumber = 0;
     List<Widget> list = List<Widget>();
  -  double  _cupertinoSliderValue = 2.0;
  -
  -  static Map<String, String > allValues = {};
  +  double _cupertinoSliderValue = 2.0;
  +
  +  static Map<String, String> allValues = {};
     static List secondList = [];
     static List thirdList = [];
     static List toAdd = [];
  -  static List deviceServices = [];
  + // static List deviceServices = [];
     StreamSubscription<LocationData> _locationSubscription;
     LocationData _currentLocation;
     var _locationService = new Location();
   
  -
     @override
     void initState() {
  -
       super.initState();
       _locationSubscription = _locationService
           .onLocationChanged()
  
positive.code:     _readAll();
  
      FlutterBlue flutterBlue = FlutterBlue.instance;
      _scanNumber++;
      int ran = 0;
      flutterBlue.startScan(timeout: Duration(seconds: (_cupertinoSliderValue.toInt() == 2 ? 2 : _cupertinoSliderValue.toInt())), allowDuplicates: false);
     // thirdList.insert(0 , "Scan number: ${_scanNumber++} Timestamp: " + DateTime.fromMillisecondsSinceEpoch(DateTime.now().millisecondsSinceEpoch).toString() + '\n');
      toAdd.clear();
      flutterBlue.scanResults.listen((results) async {
        secondList.clear();
        for(int i = 0; i < toAdd.length ; i++){
          thirdList.removeAt(0);
        }
        toAdd.clear();
        for (ScanResult r in results) {
          final String key = _randomValue();
          final String value = r.device.id.toString();
  
          if(! secondList.contains('ID: ${r.device.id}' + "\nDevice name: " + (r.device.name != "" ? r.device.name : "Unknown" )+ "\n")){
            secondList.add('ID: ${r.device.id}'  + "\nDevice name: " +( r.device.name != "" ? r.device.name : "Unknown" )+  "\n");
  
          }
  
          if(! toAdd.contains('ID: ${r.device.id}' + "\nDevice name: " + (r.device.name != "" ? r.device.name : "Unknown" )+ "\n")  ){
            toAdd.add('ID: ${r.device.id}'  + "\nDevice name: " +( r.device.name != "" ? r.device.name : "Unknown" )+  "\n");
             // (wip) servicesList(r);
          }
  
          _storage.write(key: key, value: value);
          _storage.deleteAll();
        }
        toAdd.add("Scan number: $_scanNumber Timestamp: " + DateTime.fromMillisecondsSinceEpoch(DateTime.now().millisecondsSinceEpoch).toString() + '\n');
        if(toAdd.length > 4 && ran == 0) {
          ran++;
          _logLocation();
          toAdd.add("value");
        }
        thirdList.insertAll(0, toAdd);
        setState(() {
          _counter = results.length;
        });
      });
  
  ran = 0;
  //flutterBlue.stopScan();
    }
  
    // TODO: List devices' services (wip)
  /* servicesList(ScanResult r) async
  
negative.code:             children: <Widget>[
                buildSlider(context),
                FlatButton(
                  child: Text("Scanning duration: " +
                      _cupertinoSliderValue.toInt().toString() +
                      "s"),
                  onPressed: () {},
                )
              ],
            ),
  