add catagary to localstorage