Added try catch to SettingsSerializer