selected spinner value passed to connect method