Added calling of pause/stop event when button run/stop clicked