added connect for changing play button to pause