- Fixed refreshing issue in templategrid.