Move getIcon method to TranslateUtils

It need to be reused in multiple places now

Change-Id: I24fb73e31ab9433bb6046014e5e6937910a8f8e4