Modify activity save