Added ability to vote and save the vote count to sql lite.