Adding a fallback to localStorage