Persist task completion
Remove _saveDetails function from when I was messing around
Refactor and persist task completion