// Is already added?
Button button = (Button) ComponentsFinder.findById("expandAllButton", children);
if (button != null) {
if (button.getSclass().equals("planner-command clicked")) {
button.setSclass("planner-command");
button.invalidate();
}
return;
}
// Append expand/collapse button