Added tab widget to the main window