Well the Rectangles are buttons in a widget that are going to have functions later on. What do you mean when you say separate one layer from another?