Stop button was not working