Refactor. Introduced CommonBaseAdapter