Adding sample for using the spinner