add avcaptureDevice to take photo