finish  activity life cycle