Resolve referencing issues with ArrayAdapter