allow column visibility persistence in localstorage
ensure localstorage is available before persisting column visibility state