private async void changeOuButton_Click(object sender, RoutedEventArgs e)
        {
            if (Globals.DeviceIdExists() == false)
            {
                outputField.Text = "No device ID currently in memory. Press " + submitDeviceId.Content + " then try again.";
                return;
            }
            outputField.Text = "You should see the org selector in a second...";
            //return;
            IsLoading = true;
            string orgPath = OrgUnit.HandleAwaitableGetOrgUnitFromSelector(await Task.Run(() => OrgUnit.AwaitableGetOrgUnitFromSelector()));

            string gamResult = null;

            if (Globals.DeviceId == "csv")
            {
                gamResult = await Task.Run(() => GAM.RunGAMFormatted(GAM.GetGAMCSVCommand(Globals.CsvLocation, "update cros", "ou \"" + orgPath + "\"")));
            }
            else
            {
                gamResult = await Task.Run(() => GAM.RunGAMFormatted("update cros " + Globals.DeviceId + " ou \"" + orgPath + "\""));
            }
            IsLoading        = false;
            outputField.Text = "Done! Your OU has been changed.";
        }
        private async void OrganizationalUnitBrowseButton_Click(object sender, RoutedEventArgs e)
        {
            string currentOutput = outputField.Text;

            IsLoading = true;
            string orgUnit = OrgUnit.HandleAwaitableGetOrgUnitFromSelector(await Task.Run(OrgUnit.AwaitableGetOrgUnitFromSelector));

            IsLoading = false;
            if (string.IsNullOrEmpty(orgUnit))
            {
                GetInput.ShowInfoDialog("No org unit selected",
                                        "No org unit selected",
                                        "For best results, please select an org unit.");
                outputField.Text = currentOutput;
                return;
            }
            else
            {
                OrganizationalUnitField.Text = orgUnit;
            }
            outputField.Text = currentOutput;
        }
 private void OrganizationalUnitBrowseButton_Click(object sender, RoutedEventArgs e)
 {
     OrganizationalUnitField.Text = OrgUnit.GetOrgUnitFromSelector();
 }