Adjust NoteBarView to not cause crash

The crash happened in WeSay (https://jira.sil.org/browse/WS-211).
The fix is safe for Windows, and may even be viewed as a bit of an
optimization.
Merge pull request #27 from sillsdev/Fix-WS-211

Adjust NoteBarView to not cause crash