[core:legacy] add encrypt icon on preference_edit