QR functionality finished