set refresh view visibility only if needed