added on resume and on pause to playgame and insertscores