Save Multiselect selection

Hi,
I set up a filter, which has an influence on the list passed to a multiselect widget. Basically I want to filter, select items with the multiselect widget and add them to a new list. After that I want to change my filter options, select totally different items and add them to the same list. The problem is, when I change my filter options the previously selected items aren’t available anymore in the multiselect widget, they aren’t in the list anymore because of reruning the whole script. How can I add values to a list with this tool and don’t lose them after rerunning? Or is there another tool to do that? Below is a not working version of my problem. Thanks for taking time to help me :smiley:

selected_recordings = []
select = st.multiselect('Select Recordings', recording_objects_filter)
selected_recordings += select