public void SaveButton()
        {
            if (LoggedUser.Instance.IsManager())
            {
                this.projectToEdit.Name        = this.NameTextBox;
                this.projectToEdit.Tag         = this.TagTextBox;
                this.projectToEdit.Description = this.DescriptionTextBox;

                var helper = new InfoHelper();
                helper.EditProject(this.projectToEdit);

                Show.SuccesBox("Pomyślnie edytowano projekt.");
                this.TryCloseAsync();
            }
            else
            {
                Show.ErrorBox("Nie masz uprawnień do edytowania projektów!");
            }
        }