[CLC-1230] Front-end hookup for clear completed tasks, bug fix on the status code