some small refactorings to remove dependency from BackgroundLabel to
NoteWindow