added back buttons and ability to save photos to data file