Fix the QR's state upon navigation with JSON