fixed refreshing onResume main screen