Refactor localstorage handling. Persist designer tool visibility