some code cleanup and retrieve ringtone from eeprom added