substring title of note when text length more than 50charactor