//This method manage the event that arrive on the Cancel Button
        private void Back_button_Click(object sender, RoutedEventArgs e)
        {
            //Checking if we are in the auto-setup mode
            if (mode.Equals(Features.Window_Mode.Create) && blinking)
            {
                Synchronizer.StopSetup();
            }

            //this is done to have a better vision effect on the swapping windows
            this.Hide();
            MainWindow newMain = new MainWindow();

            newMain.Show();

            //After that i really close the window
            this.Close();

            return;
        }