fix pause/restart buttons