// update the display with the current number of notes
public void updateCounts(List<Notebook> books, List<NotebookCounter> counts) {
QTreeWidgetItem root = invisibleRootItem();
QTreeWidgetItem child;
QBrush blue = new QBrush();
QBrush black = new QBrush();
black.setColor(QColor.black);
if (Global.tagBehavior().equalsIgnoreCase("ColorActive") && !Global.mimicEvernoteInterface)
blue.setColor(QColor.blue);
else
blue.setColor(QColor.black);
int total=0;