/**
* Updates the status panel with either true or false value.
*/
private void updateStatusPanel(ExecutionContext event, boolean success) {
// get the status panel if available
CorrectWrongStatusPanel panel = (CorrectWrongStatusPanel) StatusRegionUtil.getStatusPanel(statusPanelId);
if (panel != null) {
panel.setProperty(StatusPanel.PROPERTY_VALUE, success);
}
}