Tweaks to localStorage