Implement loadActivity.