edit function Activity