Prototype for the task selector.