Assigning/unassigning users when the state of a task changes