Made refresh() update disabled state