Added local storage of favorites