code: protected <T> void listenObject(ObjectProperty<T> objectProperty, Consumer<T> consumeOld, Consumer<T> consumeNew) {
          objectProperty.addListener(
                                     (final ObservableValue<? extends T> ov, final T old_val, final T new_val) -> {
                                         if (old_val != null && consumeOld != null) {
                                             consumeOld.accept(old_val);
                                         }
                                         if (new_val != null && consumeNew != null) {
                                             consumeNew.accept(new_val);
                                         }
                                     });
      }
docs: Listen object change.
  
  @param objectProperty the object to listen
  @param consumeOld process the old object
  @param consumeNew process the new object