Revert "Addedd a button to the MainWindow"

This reverts commit c6a8753296e9e273f92a0daca7829726a6f95e69.