fix refresh indicator not showing when history  is empty