* Fixed a bug in setting ring mode