adding a pause/unpause button to the digital GUI application.