close database by overriding the onDestroy()
Merge pull request #133 from dewguzzler/master

override the onDestroy to close the dabase