DF-5088 fixed restoreing material states on cancel