public void update(final UpdatedActivityFlagResponseEvent ev)
{
if (ev.getResponse().equals(msg.getId()))
{
Session.getInstance().getEventBus().removeObserver(ev, this);
buttonsPanel.removeFromParent();
}
}
});
}
FlaggedActivityModel.getInstance().update(new UpdateActivityFlagRequest(msg.getId(), false));