Please choose the correct solution to the question: To replace a battery in a smoke detector.

Solution1: Twist the detector off the wall mount and open the speaker compartment, using a screwdriver if necessary, and replace the battery.

Solution2: Twist the detector off the wall mount and open the battery compartment, using a screwdriver if necessary, and replace the battery.

Answer format: solution1/solution2
Answer: solution2