Add order by undone tasks
Fix: first task not appearing and clean input text after submit