added select all logic to delete activity.