Fix null reference error when barcode reader is set up and user backs out before camera is initalized