Fixed the issue with saving the settings page.