Add a try-block when setting icon and text, because editing may pass a string to this method.
Add a try-block when setting icon and text, because editing may pass a string to this method.

JackieXie168/skim,JackieXie168/skim,JackieXie168/skim,JackieXie168/skim,JackieXie168/skim