Fixed bug where Photos were not being saved