change qrcode image logic