endSelectionState