bug-34-preload-database-function

@john-hu I have finished bug-34, Please help me review this one. Thank you~
為什麼要 Wake Lock ?