Multi page app

Hello everyone! I’m still building my multi page app, and I’m facing a little problem.
When I change page, the widgets are not saved and the value is saved with session_state.
For example, with a checkBox, when I change page, and come back, the check box back to it original position even if the value is corresponding to the other position
Is there a way to save the widget statut ?
Thanks !

example code of my check box:

st.session_state.maximum = st.checkbox(“Maximum”)