Fixed auto refresh after refresh button pressed