private async Task DeleteCategoryAsync()
        {
            var delete = await DialogService.DisplayAlert("Delete category", "Are you sure you want to delete category", "Ok", "Cancel");

            if (delete)
            {
                await DialogService.DisplayPopupAsync();

                await FirebaseService.DeleteCategoryAsync(Category);

                IsUpdated = true;

                var parameters = new NavigationParameters
                {
                    { "IsUpdated", IsUpdated }
                };

                await DialogService.DisplayPopupAsync();

                await NavigationService.GoBackToRootAsync(parameters);
            }
        }