Add task detail and separate completed tasks