made ActivityBeforeScanState safe for starting in already resumed Activity
new-scan button in ScanActivity now works