anchor.diff:        "Discovery has completed, please refresh the resource list after approx 5 seconds";
     static const ALERT_TEXT_REFRESH_OK = "Refresh has completed";
     static const ALERT_TEXT_NO_DATABASE = "Unable to connect to the dartivity database";
  +  static const ALERT_TEXT_UNABLE_TO_GET_DATA = "Unable to read from the database";
   
     /// Page accessors
     String pageFile(int page) {
  
positive.code:     resources.forEach((key, resource) {
        output += template.renderString(
            {
              'deviceId': resource.resource.resourceName,
              'dartivityId': resource.resource.source
            });
      });
      return output;
  
negative.code:             } else {
                Map<String, db.DartivityResource>resourceMap = new Map<String,
                    db.DartivityResource>();
                try {
                  resourceMap = await dbase.all();
                } catch (e) {
                  alertList +=
                      _buildAlertList(ALERT_INFO, ALERT_TEXT_UNABLE_TO_GET_DATA);
                }
                resourceList = _buildResourceListDatabase(resourceMap);
              }
            } else {
              List<mess.DartivityMessage> messageList =
  