switch to local storage and favorites