Change button and window layout