In your local instance, by rebooting the app, do you mean refreshing the app in the browser or shutting down the current instance of the app that is running in the terminal then running it again via streamlit run app.py? If the former does not work, perhaps the latter would.
Also just to be sure is the file named .streamlit/config.toml?