Changed window from 4 to 2 to fix buttons