Fix two crashes when scanning QR codes

One crash was two due the Context being null and the other due to the camera being opened within an AsyncTask.

Closes #583 (closed)

Merge request reports

Loading