private void onLoadParseConfig()
        {
            try
            {
                configuration _config = new configuration();
                _config.LoadFile();

                for (int i = 0; i < configuration.listSites.Count; i++)
                {
                    StackPanel newStackPanel = new StackPanel();
                    newStackPanel.Orientation = Orientation.Horizontal;


                    //Canvas gridImages = new Canvas();

                    Image newImage = MakeSiteIcon(i);
                    newStackPanel.Children.Add(newImage);
                    //gridImages.Children.Add(newImage);

                    //Ellipse newEllipse = MakeSiteIconAcivity(i);
                    //gridImages.Children.Add(newEllipse);

                    //add the icon to NewStackPanel
                    //newStackPanel.Children.Add(gridImages);

                    //Ading a new stackpanel for the lables to sit correctly
                    StackPanel stackLabels = new StackPanel();

                    //add the label to stackLabels
                    Label newLabel = MakeSiteLabelName(i);
                    stackLabels.Children.Add(newLabel);

                    //add the label to stackLabels
                    Label labelHost = MakeSiteLabelHost(i);
                    stackLabels.Children.Add(labelHost);

                    //add label to the NewStackPanel
                    newStackPanel.Children.Add(stackLabels);

                    //adds to the core menu
                    SiteIcons.Children.Insert(SiteIcons.Children.Count - 2, newStackPanel);
                }
            }
            catch
            {
            }
        }