prepare radio buttons to resize the main window