src/vs/workbench/browser/parts/activitybar/activitybarPart.ts/ActivitybarPart/updateProfilesActivityAction
class ActivitybarPart:	private updateProfilesActivityAction() {
		if (!!this.profilesActivityAction !== this.profilesVisibilityPreference) {
			this.toggleProfilesActivityAction();
			return;
		}
		if (this.profilesActivityAction) {
			const activity = this.createProfilesActivity();
			if ((<IProfileActivity>this.profilesActivityAction.activity).icon === activity.icon) {
				this.profilesActivityAction.activity = activity;
			}
			// the icon has changed, so we need to recreate the action
			else if (this.globalActivityActionBar) {
				this.globalActivityActionBar.pull(this.globalActivityActionBar.length() - 1);
				this.globalActivityActionBar.push(this.profilesActivityAction = new ActivityAction(activity));
			}
		}
	}