sqllite rebuild, loading for mainactivity and horsemanager activity