Fixed bug in database query
Added highscore query from database
Implemented page flipping