added showScoreTab function