Revert previous default value in case of invalid input - category details page