set up refresh cancel listener to unlock refreshing after cancelled run