Added the QR Logging code, and notification