Add Button action on web page.
change Pause function use toggle_pause.