Searchbox and dropdown icon

I’ve been stuck on an issue for over a week now. What I’m trying to achieve is to allow users to choose their own icon and update the icon shown in the listing.

The main challenge is that the icon in the GroupFocus is pulled from the Icon database, while the icon in the listing is stored in the List database. So when a user clicks to change the icon via GroupFocus, I’m not sure how to update the related value in the List database.

I’d really appreciate any guidance on how to properly link or update the data between these two sources.

sounds trickier than it it really is, I think. When you click the icon to toggle the groupfocus, save the current row’s thing to a custom state (page-level), and when a user clicks an icon, make changes to the thing saved to the custom state, clear the state and hide the group focus. like this.

Why can’t you make something like When icon is clickedMake changes to current cell's ListingListing' Icon = icon?