Replaced fragments with activities.