T2822
Depends on D12843
Add UI locking by setting the loading state variable in useWallet.js to true when a function that impacts local storage is called. Unlock the UI after these functions complete, i.e. before every return statement in the function.