add timer for viewFlow in main activity