refactor(app) setTimeout