hide refresh button when network is not available