added switch block type dropdown ui