Change event handler for Barcode Scanner