set routing in app view and make timer