Revert "Update MainWindow.xaml.cs"

This reverts commit 9fe0276c85136686ff448c4c05907a8c329228e7.