public void Recover() { scriptDataService = new ConstellationEditorDataService(); if (scriptDataService.OpenEditorData().LastOpenedConstellationPath.Count != 0) { var scriptData = scriptDataService.Recover(scriptDataService.OpenEditorData().LastOpenedConstellationPath[0]); if (scriptData != null) { Setup(); return; } } }