If you feel happy doing it, don't turn off the mains, open the panel (tamper noise) enter your code to cancel.
Remove battery (push on spade terminals), fit new battery (correct polarity), close lid, re enter your code to reset.
I change batts every day of the week, never a problem, just leave the mains supply alone.
acorn, August 2011