GPII-125: fixed tts selector in the panel, added proper ended event listener instead of the timeout.