Revert "add task with no prev or next at the end of the list"

This reverts commit 189334a481dda8d2d512c8b4c511344116fad1d1.
Merge pull request #31 from mycozycloud/bugfix/order

Revert "add task with no prev or next at the end of the list"