How to arm/disarm the alarm programmatically?