For saving of treatment factor to remove switching between level and value factors during save and update

Post commit code review : Tiff Go