Added retry functionality to QualityControl.xaml.