Changed app to ensure XML files written on app exit
Fixed a bug where if the photo's name tag was empty no text would be display in app