apply cookie in SoundButton and SoundFlag