/// and the barcode scanner gets displayed.
/// The function that builds an error widget when the scanner /// could not be started.