if (requestCode == EDIT_AD_REQUEST) {
Log.d(TAG, "RESULT CODE " + resultCode);
if(resultCode == RESULT_CANCELED){ // нажата кнопка назад
Log.d(TAG, "Нажата кнопка назад");
String targetUrl = getResources().getString(R.string.host) + "/?act=getdatatime&authtoken=" + authToken;
AsyncTaskGetUserAccounts task = new AsyncTaskGetUserAccounts(AccountsListActivity.this, this);
task.execute(targetUrl);
}
..............