peg to updated iccore
fix pref crash and toggle state handling