The note numbers now only update for the current notebook selected and the recent notes.
Currently selected navigation item is available under the navigation variable so that the whole application has access to it.