big if statment in newpollactivity