@Override
	public void setLastOpenedProject(ProjectLocator projectLocator) {

		Preferences.setProperty(LAST_OPENED_PROJECT,
			projectLocator != null ? projectLocator.toString() : null);
		Preferences.store();
	}
Update the last opened project preference.
Ghidra/Framework/Project/src/main/java/ghidra/framework/project/DefaultProjectManager.java