public void updateReferences(Function f) throws IllegalExpressionException {
   gridOP.updateFuncReference(f);
   apperanceOP.updateFuncReference(f);
 }
 @Override
 public void updateColors() {
   apperanceOP.updateColors();
 }