Always safer to isolate mains power before you enter the control panel,pop the fuse out of the fused spur if fitted or turn lecktric off.
Replace battery like for like, (amp hr rating),date it,close panel then restore mains,
Enter master user code and system should reset with mains and day led lit,
I'm expecting it to sound off when you connect new battery,don't panic close panel restore mains,pop your code in.
Remember mains off first and don't forget to date the new battery :).
e manno, February 2013