Help me! (something about logic & syntax in JavaFX)