Code for election 2019 widget