Few checks before switch creation.

Added few validations to check if the switch first exists of the given
name and type before promting the user choose one to create.