added controls
fixed pause button state