Replace the previous database event with one that adds 1 to the current highScores.index if a new high score is greater than the currently displayed one