Fix settings cookie is not updated

The settings object is now stored in ToolbarCtrl and saved using Settings.save