Election allows a plaintiff to choose whether to sue for the breach of contract or for the tort when there is a breach of duty imposed by law.