Edited save photo mechanism
leftovers