Fixing AVCaptureSession code sample