Get button state working.