Refactor ScoreActivity