Redesigned adapter, created asynctask for pulling database entries