How to add a JavaFX ActionEvent EventHandler to a MenuItem in Scala