added edit button to activity view