title: Exception when using CheckListView of Controls FX
body: <p>I have the <strong>error</strong> : </p>
  
  <pre><code>Exception in thread "JavaFX Application Thread" java.lang.IndexOutOfBoundsException: Index: 0
  </code></pre>
  
  <p>I thought it was because I have to use <code>Platform.runLater()</code>, but it seems the errors does not come from this.</p>
  
  <p>Here's the function that I try to correct with <code>Platform.runLater()</code> :</p>
  
  <pre><code>public void setListAirportForFilter(ListAirport listAirport){
      this.myListAirport = listAirport;
  
      departureCheckListView.setItems(myListAirport.getObservableDepartureAirtport());
      arrivalCheckListView.setItems(myListAirport.getObservableArrivalAirport());
  
      departureCheckListView.getCheckModel().getCheckedItems().addListener(new ListChangeListener&lt;String&gt;() {
          @Override
          public void onChanged(ListChangeListener.Change&lt;? extends String&gt; c) {
              c.next();
              if(c.wasAdded()) {  
                  observableForbiddenDeparture.add(c.getAddedSubList().get(0));
                  System.out.println("Item Checked : " + c.getAddedSubList().get(0));
              } 
              else if (c.wasRemoved()) {
                  observableForbiddenDeparture.remove(c.getAddedSubList().get(0));
                  System.out.println("Item Unchecked : " + c.getRemoved().get(0));
              }
          }
       });
  
  }
  </code></pre>
  
  <p>The error triggered in the second case, with the removed.</p>