Changing score to be stored in local storage.