change the parameter order for gui.show_qrcode