initialize instance of database
@override Future init() async { _prefs = await SharedPreferences.getInstance(); isInitialized = true; }