preference.xml change, remove unused things