changed spinner.visible -> !spinner.hidden