add BackgroundRect.qml instead repeated code