The problem with the autopilot off (Help me)

Such a problem. Due to the fact that after turning on the autopilot and then connecting the compass, it is not detected. I made the autopilot button on the power wire cut. It became all good. But when I disarmed motors and turn off the autopilot with my own button, some motors in a random order to scroll a little. What to do? This is not safe.

The compass must be turned on later, because the cover is removable from me.

Firmware 3.6.8