transformSelect add selected state to LI