public void actionPerformed(ActionEvent event)
    {
    	// Variables
    	String name = "UNFILLED";
	    String expertise = "UNFILLED";
	    String type = "UNFILLED";
        Speaker speaker = null;
          
  	    // Text fields
  	    name = textName.getText();
  	    expertise = textExpert.getText();
  	    type = textType.getText();
  	    
  	    speaker = new Speaker(name, expertise, type);
  	    
  	    if(event.getSource() == saveMember)
  	    {
  	    	FileProcessing.writeToFileSpeakers(speaker);
  	    	mainFrame.dispose();
  	    }
  	    
  	    if(event.getSource() == book)
	    {
	    	mainFrame.dispose();
	    }
  	
    }