Using refactor flow now updates 'needs refactor' status

When customers used the refactor flow when categorizing a test, once the refactor was done, we wouldn't remove the status of 'needs refactor' from the test. This made it seem like there was more test maintenance than there was in reality. We now clear the status once the refactored test is rewritten.