add selected class on click
fixed merge for click event
Merge pull request #18 from beck410/clickOnTD

add selected class on click