Added functions for done speaking
Added delete representative-endpoint and fixed bugs in donespeaking