Fixed app so photos only save once