Hide unnecessary info in the detail of tasks

Hide the unnecessary information if the task is not completed yet
Mark completed function added

Add 'Mark completed' function and adjust the corresponding index (Task
listing) view