Update BarcodeScanner.java