Category class refactored.
TreeView methods for categories defined.
Naprawione sortowanie po dodaniu nowego itemu.
Callbacks method for tree function for categories.