before adding popup toast.

fixed chattingactivity