Adds favorite feature using localStorage