fixed received msg set to textview
fixed catch block as java
fixed variable name
fixed var initialize through