Fixed the spinner onCLick method