Create a button and input box for scanning QR codes and barcodes