solving the bug that cannot save data after adding a new numeric category by setting the default value of numeric category as 0