Fix QR refreshing.