Habit Puzzles: Tutorial bugfix

This should fix situations where progress in the tutorial could be lost.