integrated fix for the auto refresh on app loading