update pause function

when pause, 'pause' is shown in the screen with red font.