private async void StartStopCapture() { if (!_recording) { _recording = true; ProgressBarHelper.ShowProgressBar("Capturing"); await _lowLagPhotoSequenceCapture.StartAsync(); CaptureButton.Icon = new SymbolIcon(Symbol.Stop); } else { StopSequenceCapture(); } }