The MX entry's local or remote setting should update if the A record for the current MX entry is set remotely or locally; currently the check is only done when there is a change in the MX entry itself.

Example:
set the mx entry to mail.domain.com

now change the IP for mail.domain.com to a remote IP and then to a local IP

It would be good of the MX "local" and "remote" settings automatically matched when the "autodetection" setting is used.