buttons.add(new AddButton($("TasksManagementView.add")) {
@Override
protected void buttonClick(ClickEvent event) {
presenter.addTaskButtonClicked();
}
<BUG>});
if (presenter.areWorkflowsEnabled() && presenter.hasPermissionToStartWorkflow()) {

buttons.add(new StartWorkflowButton());
</BUG>
}

buttons.add(new AddButton($("TasksManagementView.add")) {
@Override
protected void buttonClick(ClickEvent event) {
presenter.addTaskButtonClicked();
}
});
if (presenter.areWorkflowsEnabled()) {
Button startWorkflowButton = new StartWorkflowButton();
startWorkflowButton.setVisible(presenter.hasPermissionToStartWorkflow());
buttons.add(startWorkflowButton);
}
