storing and loading polls using SqLite