minor changes to settings class (updates values into cache after saving)