Added persisting of comparator configuration