Fix issue if the user show alert without completion handler