Switched back to localStorage for storing data