@FXML
 private void handleNewTitle() {
   Programs tempProgs = new Programs();
   boolean okClicked = mainApp.showProgramsEditDialog(tempProgs);
   if (okClicked) {
     mainApp.getProgramsData().add(tempProgs);
   }
 }
  /*
   * MainApp reference
   */
  public void setMainApp(MainApp mainApp) {
    this.mainApp = mainApp;

    // Add observable list data to the table
    progsTable.setItems(mainApp.getProgramsData());
  }