Almost fixed the closing of SelectionPanel:
Need to keep it open for when there is two players. Now it works for one player again