Fix bugs about text field for memo cells