setActive API should overwrite the election results