fixed bugs

fixed null values in order list when the product is deleted.
fixed category divider style, and add amount limitation into addCategory function