Save categories on database