changed pause button to two buttons