I cleaned up a few things but the main problem I saw was that you were starting two async operations at once, but expecting them to occur in order. Check localstorage after you've got the AJAX data, since the Dictionary group isn't turned on until then. You also don't need the extra Get step as the data is already there on an "exists".
I've tried to remember to disable anything I changed so you can see the before and after. It wasn't clear what else might not be working. You'll need to explain specific examples.