Fix fix on_selection_change

Sorry I broke it...buyt why I don't understand yet....