Save hide events prefs in localstorage