added support for the back button in ScanActivity