fixes getSelected, adds isSelected
Merge pull request #15 from kevinquinnyo/fixbug

fixes getSelected, adds isSelected