Now the main window buttons work properly

Each button redirect to the right page.