Added fix for facebook crash when cancelling a Facebook login https://developers.facebook.com/bugs/120539814778972?browse=search_50d8d7afe8a4c9905952987