app checks if barcode scanner is not available