add savePhoto and doneButtonPressed