@Override
public void onValueChange(ValueChangeEvent<String> event) {
String token = event.getValue();
if(token != null) {
Presenter presenter = mainPresenter;
if(token.startsWith("main")) {
presenter = mainPresenter;
} else if(token.startsWith("home")) {
presenter = homePresenter;
} else if(token.startsWith(LoginPresenter.VIEW_LOGIN)) {
presenter = loginPresenter;
}
presenter.go(container);
}
}