added activity save into controller