Fixing auto refresh button