bug fix canPromptForAuthorization setter method