It's wired incorrectly. It should have a power wire going straight to an unswitched +12v coming straight from the battery, and another switched +12v that's on the ignition switch.
The behavior you are describing indicates both wires were spliced to a switched +12v feed, which will not maintain station memory.