Persist favorites info in local storage