UI improvement for tasks
added tests for deadline of tasks