If the ONLY thing you changed was the battery between working properly and not, then either the battery is in backwards or the wire was overheating before the battery change, without your knowledge.