Make mark-complete button work with toggling details