Hide empty bookmarks folder it menu

As for me, I think, that empty folders not needed in bookmarks menu. But I don't know how other people looks on it. So I added setting to save current behavior.