JavaFx components ready, listArray not working as expected