Fixing inspect button state.