Changed how typing indicator is shown/hidden