added callback for when things are getting selected
callbacks work