Refresh taskDetails when toggling done status
Improved DELETE method, hide taskDetails when applicable