added visual state for display of the qr code