added spinner selector