A simple JavaFX application that saves contacts in a text file