A version of barcodescanner fine-tuned to work with DialogFragments