redirect to index after save qr code success, disabled save if not yet generate qr code