Address 'SQLite database SQLiteConnection object for database' issue by creating only one instance of it