public void onClick(ClickEvent event) {
refresh();
}
});
eventBus.addHandler(UpdateEvent.TYPE, new UpdateEventHandler() {
@Override
public void onAddEvent(UpdateEvent event) {
// Refresh dashboard automatically if user changed an item.
// We do not remove the refresh button to allow the user to refresh to see the changes done by other users.
refresh();