Refine the AIS target track persistency implementation

to allow saving the track for as long as the user decides.