button state troubleshooting