changes for having multiple line tools in the toolbar