Began adding functionality to select, edited so that only draw on canvas when draw function is selected