public void Update()
        {
            this.Dispatcher.BeginInvoke(new Action(() => {
                _tweetCount[0].Value = _tweetStorage.GetPercentage(TweetStorageSelectBy.Analysed);
                _tweetCount[1].Value = _tweetStorage.GetPercentage(TweetStorageSelectBy.ToAnalyse);
                _tweetCount[2].Value = _tweetStorage.GetPercentage(TweetStorageSelectBy.Error);



                _tweetCountSentiment[0].Value = _tweetStorage.GetPercentage(TweetStorageSelectBy.Positive);
                _tweetCountSentiment[1].Value = _tweetStorage.GetPercentage(TweetStorageSelectBy.Neutral);


                int x = 0;
                foreach (var country in _tweetStorage.GetTopCountries())
                {
                    if (x > _tweetCountTopCountries.Length - 1)
                    {
                        break;
                    }
                    ChartTopCounties.ChartLegendItems[x].Caption = country.Name;
                    _tweetCountTopCountries[x].Name  = country.Name;
                    _tweetCountTopCountries[x].Value = country.Value;
                    x++;
                }

                x = 0;
                foreach (var country in _tweetStorage.GetTopLanguages())
                {
                    if (x > _tweetCountTopLanguages.Length - 1)
                    {
                        break;
                    }
                    ChartTopLanguages.ChartLegendItems[x].Caption = country.Name;
                    _tweetCountTopLanguages[x].Name  = country.Name;
                    _tweetCountTopLanguages[x].Value = country.Value;
                    x++;
                }

                x = 0;
                foreach (var country in _tweetStorage.GetTopLanguages(TweetStorageSelectBy.Positive))
                {
                    if (x > _tweetCountTopLanguagesPositiv.Length - 1)
                    {
                        break;
                    }
                    ChartTopLanguagesPositiv.ChartLegendItems[x].Caption = country.Name;
                    _tweetCountTopLanguagesPositiv[x].Name  = country.Name;
                    _tweetCountTopLanguagesPositiv[x].Value = country.Value;
                    x++;
                }


                x = 0;
                foreach (var country in _tweetStorage.GetTopLanguages(TweetStorageSelectBy.Negative))
                {
                    if (x > _tweetCountTopLanguagesNegativ.Length - 1)
                    {
                        break;
                    }
                    ChartTopLanguagesNegativ.ChartLegendItems[x].Caption = country.Name;
                    _tweetCountTopLanguagesNegativ[x].Name  = country.Name;
                    _tweetCountTopLanguagesNegativ[x].Value = country.Value;
                    x++;
                }

                _titleTmp = PageTitle = String.Format("Twitter Sentiment Analysis | Keywords: {0} | Tweets recived: {1} | by Julian Nischler 2014", string.Join(" , ", _keywords.ToArray()), _tweetStorage.CountTweets(TweetStorageSelectBy.All));

                //ChartTop10Counties.InvalidateVisual();
            }));
        }