private void LightingSyncButton(LightingPage child)
        {
            if (!child.editingProfile.ValidateKeyboardKeys())
            {
                this.SyncStatus.Text = "Fn or Anne keys were not found in the Standard or Fn layouts";
                return;
            }

            try
            {
                SaveProfiles();
            }
            catch (UnauthorizedAccessException)
            {
                SyncStatus.Text = "UnAuthorizedAccessException: Unable to access file. ";
            }

            ProfileSyncButton.IsEnabled = false;

            this.SyncProfile(child.editingProfile);
            child.editingProfile.SyncStatusNotify += async(object_s, events) =>
            {
                await this.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
                {
                    this.SyncStatus.Text = (string)object_s;

                    this.ProfileSyncButton.IsEnabled = true;
                });
            };
        }
 private void initPages()
 {
     layoutPage   = new LayoutPage();
     aboutPage    = new AboutPage();
     lightingPage = new LightingPage();
 }