Fix the case when due_date don't assigned for task.
Fix task list.

- remove excess code that caused bugs
- fix css