Please visit our bug report site to see if the problem has already been reported: msft.it/6013ZeFFb. You can upvote if the issue hasn't been resolved. If you think you've found a new bug, visit our help site here on how to submit a report! msft.it/6014ZeFFj ^FF
You don't have to repurchase Minecraft if you’ve switched devices. Java can be downloaded here: msft.it/6014ZeFxG. If using Bedrock, sign into your Microsoft account & download the game from the "My Library" menu in the Windows Store. ^FF