reduce 2 buttons to 1

no separate buttons for resume and stop. just one toggle button