Small changes to edit activity.