click button to upload qrcode or scan qrcode