set default button for qr code dialog