code refactoring in button randomResults and in activity_highscore