@Override
 protected void onPreExecute() {
   super.onPreExecute();
   SendMsgImg.setVisibility(View.INVISIBLE);
   SendMsgImg.setEnabled(false);
   ProgressB.setVisibility(View.VISIBLE);
 }
 @Override
 protected void onPostExecute(Void result) {
   super.onPostExecute(result);
   ProgressB.setVisibility(View.GONE);
   SendMsgImg.setVisibility(View.VISIBLE);
   SendMsgImg.setEnabled(true);
   Toast.makeText(getBaseContext(), "Отправлено", Toast.LENGTH_SHORT).show();
   edittextMessage.setText("");
   GetAllMessages();
 }