I want to make a simple app that switches windows whenever I pressed a button, the project was based on this answer, it worked very well using this code, However, when I tri