Update properties in JavaFX thread only if required