private void Initialized(Grid cloneStatusWindowMainGrid)
 {
     directoryCloneFacade.StartCloneEvent += () =>
     {
         cloneStatusWindowMainGrid.FindChild<Grid>("InitializeGrid").Visibility = Visibility.Collapsed;
         cloneStatusWindowMainGrid.FindChild<ListView>("ServiceListView").Visibility = Visibility.Visible;
     };
     directoryCloneFacade.InitializeClone();
 }
        /// <summary>
        /// Toggles spinner on the grid. If it toggled on then it returns true if not it returns false.
        /// </summary>
        public bool ToggleSpinner(Grid grid, Color color, double size = 100)
        {
            grid.Dispatcher.Invoke(() => {
                var spinner = grid.FindChild<FaxUI.IcoMoon>("spinner");
                if(spinner != null) {
                    grid.Children.Remove(spinner);
                    return true;
                }
                else {
                    var spin = new FaxUI.IcoMoon {
                        VerticalAlignment = VerticalAlignment.Center,
                        HorizontalAlignment = HorizontalAlignment.Center,

                        Icon = FaxUI.MoonIcon.Spinner,
                        Width = size,
                        Height = size,
                        Foreground = new SolidColorBrush(color),
                        Spin = true,
                        SpinDuration = 1,
                        Name = "spinner",
                    };

                    spin.Name = "spinner";
                    grid.Children.Add(spin);
                    return true;
                }
            });
            return false;
        }