add enable or disable trigger button