NXP-12787: change way of initializing safeEdit in toggleable layout + make sure localStorage key is unique