update app to meet next changes
add delay
Merge pull request #1239 from lzhan/next

update app to meet next changes