text append issue in Selected Paragraph