can you check for a connection first? ie: If connection then refresh, else show refresh button - or just refresh