small refactoring + new method "disableProfiles" in YMainController