Add the interrup method to get the button up&down status