code: reusing category variable scope
minor refinement

+ defaultCfg for playing with config file
+ on_load replaced with on_activated
code fix: reusing level
db: tasks moved to array for every db types

- flushed at once
- created instantly
- delayed upd ahead