added newGameActivity class and solved all warnings