If visible, perform refresh, could be combined into one method.