I have an onfire event for my button in javafx where it starts a backend function that takes about ten minutes to finish. I would like to add a button where once it is click