Add complete button to pending tasks.