Marking a task as done

Fixing also gamification stuff