Add new custom serial number by saving the serial number value as state variable.