Is there any possibility, after clicking on a button to reload the whole page?
Have you tried st.experimental_rerun ?