Updated DPC number entry routine

Added a do loop so that when the interface loads slowly or does not
accept input the first time the DPC will still get correctly entered.