adding barcode scan to the on deviceready to test