Added some signals and slots into MainWindow and CentralWidget