solved a bug crashing the app at startup due to database creation on first app run