Fix state changes for TaskList