change spinner type