fixing pause and unpause game, adding modal later