add button sensor with debug