In this code, as soon as I press the key streamlit goes into a 2 min RUNNING mode and --debug does not show what is being done during that running mode,
if st.button(element, key=unique_key):
#st.session_state.clicked_button = element
st.write(f' You clicked: {element}')
seconds = self.timestamp_to_seconds(str(element))
self.update_start_time(seconds)
Have tried many many things that ChatGpt suggested none worked