public void reset() {
activeId++;
notesCache.clear();
timestamp = null;
final StatusObserver statusObserver = model.getStatusObserver();
statusObserver.onTaskStarted("Loading '"
+ model.getSelectedSurface().getTitle() + "' ...");
// If the surface has not been saved, we know there are no notes
// associated with it, so it is safe to just synthesize an event on the
// client.
if (model.getSelectedSurface().hasKey()) {
startInitialLoad();
} else {
statusObserver.onTaskFinished();
model.notifySurfaceNotesReceived(new Note[0]);
startPolling();
}
}