desktop:update the function of richdir autoname

only using the first category if the first category is available
without checking the next category
----abandon the method
----use checking po instead after

Change-Id: Ie6d3eaaefff76fabf50434f389280d6de1a606e8