disable the refresh button while it has no effect.