Updated getAllStoreNames function code to pull in the new "selected state" and pull in with the name displaying in table