BHV-686: code for multipleSelectionChanged