configure method
Implementation
Future<void> configure(String boxName) async {
await Hive.initFlutter()
.then((_) => boxCompleter.complete(Hive.openBox(boxName)))
.catchError((exception, stacktrace) => boxCompleter.completeError(exception, stacktrace));
}