Created adapter for the view of the spinners