fix bug when delete all items from a list; add functions to support user to add their own item category