select and unselect objects when you click them