change task mode