After the user clicks whitelist, the browser opens up to the whitelist page. The app goes into an infinite loop checking to see if whitelist has been done. But if the user does nothing, the app is effectively locked into this state.
The only option left to the user is to restart the app.
A max limit to check attempts should be added, ending gracefully with an informative message.