Added a Layout and set the central widget