Added switch menu option to empty veiw