Use on load event to save and set read only state