adding key shortcuts for selecting the type of line.