Implemented possibility to change the position in the list of tasks.
Fixed bug when deleting all tasks.