Barcode Scanning updates name in addDialog