Fix updateCaption
It only worked with collectionView selection, thus not showing the name
of the note. And since we want not just only name, but a path to the note,
we have to first map the QModelIndex to one belonging to ETM (which
contains the whole path).