public void actionPerformed(ActionEvent e) {
boolean wasRunning = stopApp();
saveAs();
if (wasRunning) {
MainSynchronizer synchronizer = application.getUniverseContext().getSynchronizer();
synchronizer.start();
}
}
/**
* If the application is running, stop it and return true. Else, simply return false;