call StoreNonce when generate a new nonce
fix text case