Finish xml save