make current task selected.