The database works correctly and things are rendering well. Now I am switching from fragments to many activities.