added support for QR scanner via createChooser()