fix exception during synchronization due to access to unset note's title

Hi! Thanks a lot for Nixnote2, it's great software!

I found one bug during the synchronization, it went down with exception due to access to nonexistent Note's title in the log entry. Fix was simple enough.