Modify previous and next text