Made checkbox according to the completion of task