refs #4 change line type based on clicked button