Remember the previously selected template in instance, works better with multiple instances...