Change when refresh is called during DynamicContent creation, close #335.