How to Correctly Reference a Method in App.xaml.cs - C#