/// <summary>
        /// Add a new category
        /// </summary>
        private void AddCategory()
        {
            if (string.IsNullOrWhiteSpace(NewCategoryName))
            {
                FormError = "EmptyCategoryName";
                return;
            }
            if (CategoryList.FirstOrDefault(x => x == NewCategoryName) != null)
            {
                FormError = "CategoryExists";
                return;
            }

            databaseRepository.AddCategory(NewCategoryName);
            Messenger.Default.Send(new CategoryAddedMessage(this, NewCategoryName));
            CategoryList.Add(NewCategoryName);
            StopAddCategory();
        }