Fixed bug: don't add new snippet if title is empty.