single row note : assign a title when the note is closed

The title usually occurs when user inputs CR.
If note is closed with a single row, use this as a title.