updated finish screen to save the xml file