Created a changeSelected, added more code to the callback