fixes #770 : Persisting last cell language in variable

Using the variable instead of storing the language in an array
The name `langa` is crufty; you're copying the `a` which stands for alt again.  This variable will only be used once so perhaps it's not needed.