Keep selected variant across frames

Hi! I’m building my first prototype with Figma and I might have bitten off more than I can chew. The idea was to build a carousel displaying different features for a product that the user could swipe through. I added a “save” button to the header and made it an interactive component (on click, it moves from saved to unsaved.) However, when I scroll through the carousel, the saved button switches back to its default state. Is there a way to build this so that the “Saved” button remains either selected/unselected regardless of the frame?

Thank you!