diff --git a/Remotely_Desktop/App.config b/Remotely_Desktop/App.config
index 56efbc7b..77e1ff33 100644
--- a/Remotely_Desktop/App.config
+++ b/Remotely_Desktop/App.config
@@ -1,6 +1,30 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Remotely_Desktop/App.xaml b/Remotely_Desktop/App.xaml
index 1bee3ba4..acd34727 100644
--- a/Remotely_Desktop/App.xaml
+++ b/Remotely_Desktop/App.xaml
@@ -2,7 +2,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Remotely_Desktop"
- StartupUri="MainWindow.xaml">
+ StartupUri="MainWindow.xaml" Exit="Application_Exit">