Update Scan.xaml.cs