Radioubutton template
MainWindow refactoring