Added the ability to add favorite items to local storage