To select a component in a task