Updated Total score function and displaying it to the screen