fixed a bug where a score for the next level was also inserted into the datebase because the level finish stuff was called again after pressing the back button