Store favorites in local storage

Need to work on the serialization/deserialization though.