private void secondPlayAgin() throws CouldNotPlayAgainException,NoCancelOption {

		int secondChoice = JOptionPane.showConfirmDialog(null, "PLEASE PLAY ME AGAIN", 
				"Play Again", JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE);

		if (secondChoice == JOptionPane.OK_OPTION) { 
			frame.dispose(); // going to dispose of our frame// if user hit ok 
			GUI.playAgain();

		}
		else if(secondChoice == JOptionPane.CANCEL_OPTION){
			JOptionPane.showMessageDialog(null, "You are entering View Mode Only", "View Only Mode", JOptionPane.YES_NO_OPTION);
			
			//disabling all JButton until new game is started 
		 try{			 
			for(int i=0;i<9;i++){

				GUI.clickButton[i].setEnabled(false);
				//System.out.println("Buttons Disabled");
			}
			System.out.println("VIEW MODE ONLY");
		 }
		 catch(Exception e){
			 System.out.println("Could not disable the button");
			 e.printStackTrace();
		 }
		}
	}