disable views when refreshing