Deletes the default layout from centralwidget before inserting the FlowLayout.