Added a button that exports the JavaFX drawing code of the selected layer