Click the following button to call the function

Use different text in write method and then try...