first implementation of 'New game' button functionality