Add error as second return value to GetSettings() and SetSettings()
TODO