select first available task by default