adding switch to end voting screen