remove getActivity() from websocket callbacks
remove getActivity() from websocket callbacks