Local storage of favorites implemented

I'm not really sure that's exactly what you had in mind at the start but I guess it smoothly gets the job done nonetheless.