Adding logic to the control elements in the MainView.fxml using the MainViewController