started moving all ui-scan logic to a single class with many states (ScanActivity)