Moving refresh of editor when there is an update needed in themes