Added action checking in ResultsActivity.