Added back the edit function on local storage loaded from JSON.