Added write panel content to fxml UI