fix memory leak problem

do not query sqlite db in item render callback

Change-Id: I920066728ed6f2deb356ad2a641af08e88d06bce