Autopilot ON/OFF using switch

Yes but didn’t work. Whether I use the push button only works if I push and hold, if release the button the AP goes off. I have been setup the NAV and APR and works great. Seems that it will work only if I use the switch that hold the position. I’m doing something wrong?