bind spinner to resource
updated files