Reverse logic for button sensor