fixing bug with storing silence duration preference.