added invalidateRootView() to activity