Database

* Updated
* replaced 'null' to null
* Bugfix (TaskSorting)