public async void CheckIfProjectIsLoaded()
        {
            if (App.Corpus != null)
            {
                ContentDialog locationPromptDialog = new ContentDialog
                {
                    Title             = "Create a new project",
                    Content           = String.Format("The project {0} is currently loaded. Do you want to save this project first?", App.Corpus.ProjectName),
                    CloseButtonText   = "No",
                    PrimaryButtonText = "Yes"
                };

                ContentDialogResult result = await locationPromptDialog.ShowAsync();

                if (result == ContentDialogResult.Primary)
                {
                    await fileService.SaveProjectAndAskAsync();

                    App.Corpus         = null;
                    App.typologyApp    = null;
                    App.StatisticsData = null;
                }
                else
                {
                    //App.Corpus = null;
                    //App.typologyApp = null;
                    //App.StatisticsData = null;
                }

                // Close = 0, Primary = 1, Secondary = 2
            }
        }
 public async void SaveProject()
 {
     await fileService.SaveProjectAndAskAsync();
 }