}
@Override
public void setStatus(Optional<NoteStatus> noteStatus) {
if (noteStatus.isPresent()) {
final NoteStatus status = noteStatus.get();
statusLabel.setText(status.getDisplayText());
if (status == NoteStatus.RESOLVED) {
statusLabel.getElement().getStyle().setColor("green");
subjectLabel.getElement().getStyle().setColor("green");
}
else {