Add proper constness to functions in Settings

Add proper constness to functions in Settings class.