bug fix for arm/disarm button