Fixed wrong button state