Change from frameless to normal window, it should do after main function is done