protected override void Buttons_Clicks(object sender, RoutedEventArgs e)
        {
            Page page = null;

            switch ((e.Source as Button).Name)
            {
            case nameof(daysB):
                page = new DaysPage(this.Person.DaysWhenUserWrittenSomething);
                break;

            case nameof(wordsB):
                page = new WordsPage(this.Person.PersonMessages.SortedWords);
                break;
            }

            if (page != null)
            {
                NavigationService.Navigate(page);
            }
        }
        protected override void Buttons_Clicks(object sender, RoutedEventArgs e)
        {
            Page page = null;

            switch ((e.Source as Button).Name)
            {
            case nameof(peopleB):
                page = new PeoplePage(StatsContainer.PeopleContainer);
                break;

            case nameof(daysB):
                page = new DaysPage(StatsContainer.DaysContainer);
                break;

            case nameof(wordsB):
                page = new WordsPage(StatsContainer.WordsContainer.SortedWords);
                break;
            }

            if (page != null)
            {
                NavigationService.Navigate(page);
            }
        }