fixed the logic of switching turns, notifications and uow dirty