title: UndoFX: A bound value cannot be set
body: <p>I use UndoFX for the undo and redo functions to a rectangle shape.
  So far it is working fine for position, size and rotation, <strong>except</strong> the <code>fillProperty</code> color of the shape.</p>
  
  <p>The problem is that i can't bind my shape with the <code>ColorPicker</code> component, i get infinite exceptions: </p>
  
  <blockquote>
    <p>Rectangle.fill: A bound value cannot be set.</p>
  </blockquote>
  
  <p>How can i use both undofx functions and binding?</p>
  
  <pre><code>colorField.valueProperty().setValue((Color) (currentSelected.getRect().fillProperty().getValue()));
  
  currentSelected.getRect().fillProperty().bind(colorField.valueProperty());
  
  previousSelected.getRect().fillProperty().unbind();
  </code></pre>