spinner works in database view