return true;
case R.id.menu_validate: // only in insert mode
final String name = mNameEditText.getText().toString().trim();
final String urlOrSearch = mUrlEditText.getText().toString().trim();
if (urlOrSearch.isEmpty()) {
<BUG>Toast.makeText(this, R.string.error_feed_error, Toast.LENGTH_SHORT).show();
}</BUG>
if (!urlOrSearch.contains(".") || !urlOrSearch.contains("/") || urlOrSearch.contains(" ")) {
final ProgressDialog pd = new ProgressDialog(EditFeedActivity.this);
pd.setMessage(getString(R.string.loading));

return true;
case R.id.menu_validate: // only in insert mode
final String name = mNameEditText.getText().toString().trim();
final String urlOrSearch = mUrlEditText.getText().toString().trim();
if (urlOrSearch.isEmpty()) {
UiUtils.showMessage(EditFeedActivity.this, R.string.error_feed_error);
}
if (!urlOrSearch.contains(".") || !urlOrSearch.contains("/") || urlOrSearch.contains(" ")) {
final ProgressDialog pd = new ProgressDialog(EditFeedActivity.this);
pd.setMessage(getString(R.string.loading));
