Using properties javafx