Added update the score when clicking the icon