Implemented saving edited photos