public HistoryItem(HistoryEntry info)
 {
     myInfo = info;
     InitializeComponent();
     Task.Run(() =>
     {
         PopulateInfo();
     });
     
 }
        public static void AddNewEntry(HistoryEntry info)
        {
            int counter = Settings.GetValueForSetting(Settings.PossibleValueSettings.HISTORY_COUNTER);
            if(counter > 5)
            {
                counter = 0;
                Settings.ChangeSetting("HistoryCounter", 0);
            }

            Settings.ChangeSetting("HistoryEntry" + counter, JsonConvert.SerializeObject(info));
            Settings.ChangeSetting("HistoryCounter",counter + 1);
        }