Looking for some help/advice. I am installing an Android double din head unit in my 1998 Trans Am and Ive run into something I've never encountered before in an installation. The unit stays on all the time, even with no key. Power it off and it starts back up immediately. I've installed several head units before, in fact this is replacing a different double din dvd unit. Heres what I have tried:

Switching the red and yellow wires ( thinking maybe they were labeled wrong)
Interrupting the yellow wire with a toggle switch ( I can turn it off but then it loses memory like clock and radio presets)
Toggle switch on the red wire ( this literally changed nothing lol)

I've never seen this before. I was willing to live with powering it on with a toggle, but not if it's going to lose settings. I emailed the company, waiting for a response but thought I'd check here.
I was a member here before btw just haven't logged in for ages and couldn't remember login information.
Thanks in advance