private void OnAppRun(object sender, SelectionChangedEventArgs e)
        {
            if (MenuList.SelectedIndex == -1)
            {
                return;
            }
            MobileApp app = MenuList.SelectedItem as MobileApp;

            if (app.AppType == AppType.Background)
            {
                app = uI.GetApp <MobileApp>("Logs");
            }
            if (app != null)
            {
                var appUI = new AppUI(app);
                appUI.Modal  += OnModal;
                appUI.Resume += OnResume;
                appUI.Log    += OnLog;
                uI.RunningApp = appUI;
                uI.SetContent(appUI);
            }
        }
 private void OnResume(AppUI appUI)
 {
     uI.SetContent(appUI);
 }