changing where afterSelectionChanged gets fired.