class SingleLiveSearchSelectionHandler implements LiveSearchSelectionHandler<TYPE> {

    @Override
    public void selectItem(LiveSearchSelectorItem<TYPE> item) {
        if(selectedItem == null) {
            selectedItem = item;
            selectedItem.select();
        } else {
            if(!selectedItem.getKey().equals(item.getKey())) {
                selectedItem.reset();
                selectedItem = item;
                selectedItem.select();
            }
        }

        if(onChangeNotification != null) {
            onChangeNotification.execute();
        }
    }

    public  SingleLiveSearchSelectionHandler();

}