automatically select delivery or card when a new one is entered