Added support for pause and resume of game play