Obtain the poll type from user and create a new poll acordingly.