add activity and load activity