select lines via buttons