Thank you so much for this! It works perfectly. There is a glitch though where you gain thousands of badges whenever you open the app and it's causing accounts to be flagged by the developers. They work on a strike warning where you're warned first and then you're placed in Group 0 in which you can't really participate in any of the game events.