issue with dynamically generating button at the linked page when refreshing it

issue with dynamically generating button at the linked page when refreshing it

Hi everybody!
I got an issue in dynamically generating button at the linked page.

The scenario is like these.
1.click the third item in first page  to dynamically generatting button at the linked page and change page to it.
2.you can find that the button's style is ok in the linked page, and refresh this page.
  It did change to the first page after refreshing. 
3.click the first page's third item again to dynamically generatting button at the linked page and change page to it.
4.you can find that the button's style is NG, but the other content' style is OK.

I have added $("#buttonId").button(); to void the style missing.
But I think a native solution in jquery mobile is better than mine.

Thanks in advance.