replace cursor adapter with Array adapter
compelete change to use ArrayAdapter