let nextStep = this.canUpgradeCrewSpec(this.crew) ? this.onUpgrCrewSpec1Tutorial : this.onUpgrCrewTutorFinalStep this.afterApplyAction = function() { saveLocalByAccount("tutor/upgradeCrewSkills", true, @() save_profile(false)) nextStep.call(this) } this.onApply() }, this)