Update ScanActivity.java