refactor and move _transit in SettingsService