added priorities to refresh state

...erride a higher priority one.
NO. BAD CURLY BRACE. YOU DONT GET YOUR OWN LINE. /hits with rolled up newspaper