T2822
Depends on D12847
Pretty sure this is the 'root cause' of the bug, though the diffs earlier on this stack implement better dev practices.
This diff ensures that we do not set a renamed active wallet in state as wallet unless it has also updated in indexedDb.