fixed activity creation to create table entry in db
Merge pull request #169 from itpun/master

fixed activity creation to create table entry in db