fixed pause button not resetting on restart