Added the db.close() in ListActivity.onPause()

I've also moved the rendering of the days list and of Entry's information
from the onCreate method to the onResume method.