added localstorage persistence
fixes edit padding