Deleteted switch

Deleted the switch from main window