added edit action for activities