public void Save()
        {
            repository.AddList(SelectedText);

            thisWindow.Close();
        }