A county in the battleground state of Pennsylvania has extended voting hours after experiencing a software malfunction.