Election state changed to enum