private void setupFileList(OrgQueryBuilder agenda) {
    ArrayList<String> filenames = OrgProviderUtils.getFilenames(getContentResolver());
    for (String filename : filenames) {
      CheckBox checkBox = new CheckBox(this);
      checkBox.setText(filename);
      checkBox.setChecked(agenda.files.contains(filename));

      fileListView.addView(checkBox);
    }
  }
 private String getChangesString() {
   int changes = OrgProviderUtils.getChangesCount(getContentResolver());
   if (changes > 0) return "[" + changes + "]";
   else return "";
 }