Store togglestatus in localstorage