Added togglebutton for pausing
More work on that togglebutton