Use custom adapter for candidates list.

Fixes #19.