}
private class StateEventHandler implements StateEventListener {
public void handleUpdate(StateEvent event) {
State state = event.getState();
if (state instanceof SearchStartedState) {
clear();
} else if (state instanceof SelectedPlaceChangedState) {
SelectedPlaceChangedState spcs = (SelectedPlaceChangedState) state;