Added spinner and adapter