changed button style and added a pause button