Called when the selected item has changed.
Override this method in a derived class to perform additional actions, for example, synchronize selection with some other controls.