Unchecked runtime.lastError: The message port closed before a response was received

Hey @Ahmad3! I am not sure whether this is the root cause of the issue, but one problem with your selectbox is that you pass a new key on every re-run because unique_key is regenerated every time you interact with the app. You have to make sure that on every re-run the key of widget stays stable, otherwise the Streamlit app removes the widgets and replaces it with a new one. This is the reason why your selection is reset and you cannot change it.