Added class and functionality MaxPersistenceStorage,
if set to true in config, preferences can only be overwritten by bigger
values