This dog got a second chance for a happy life