removed reference to App in adapter.