using local storage to persist isShow over client refresh