Added an else conditional for disabling the Cast Button to prevent it being disabled and never re-enabled