Save the configuration parameters when the page is changed