HemeUi should not touch database during construction.

Database can be not initialized.

BugzId: 3060