delete the pulltorefresh and get the categories from the local bdd