I have no idea what you are talking about. If you want to save a list of “favorites”, create a “favorites” object and put the IDs or objects of what you favorite in there, save it. Then yu can read it and check if the currently displayed item is in that list.