public void AddHistoryItem(HistoryItem item) { AllHistoryList.Add(item); if (item.FolderId == CurrentSelectedFolder.Id) { DisplayHistoryCollection.Add(item); } DurationText = "00:00:00"; BeginStamp = DateTime.MinValue; ShowPopup(LanguageName.HasAddedHistoryItem); IsHistoryListChanged = true; }