Bug 1019039 - [homescreen-stingray] Intermittent Travis Unit Test failur...

...e: Applications predefined apps check state: Error: expected false to be true r=lchang
The callback will be called as soon as "onsuccess" is set. I have a little concern about that the calling sequence may be different from the original one, although it seems not a problem in homescreen-stingray now. Do we need `setTimeout` here?