activate selected task.