private void endActionUpdate() {
		numberOfActionsAlreadyPassed++;

		if (numberOfActionsAlreadyPassed >= numberOfActionsToSwitchStatus) {
			numberOfActionsAlreadyPassed = 0;
			if (isActive())
				deactivate();
			else
				activate();
		}
	}