Put buttons in the middle, and changed the x button appearance