database keeps track of finished puzzles, next level dialog, shows finished status in layout