Added inheritance of ScannerActivity for interface part