removed one more db call from ui thread by accessing transaction cursor from fragment