Fixed DB open/close minor bug which over flooded LogCat.