added deselect functionality to ballot