removed unused code in TabSettingsCtrl