Pickle the correct object in trackDao when closing down