private void CreateNewQuestion()
        {
            var AddQuestionPage = new AddQuestionPage(new Question());

            AddQuestionPage.GoHome += GoHome;
            mainFrame.NavigationService.Navigate(AddQuestionPage);
        }
        private void EditWindow(Question question)
        {
            var AddQuestionPage = new AddQuestionPage(question);

            AddQuestionPage.GoHome += GoHome;
            AddQuestionPage.buttonAddQuestion.Content = "Edit question";
            mainFrame.NavigationService.Navigate(AddQuestionPage);
        }