Moved spinner adapter into a different class