Added persistence in the frontend.

Before you go on holidays ;-) a little hack to take the value of the text_type saved by the backend and set the language accordingly.
Implementation: I used a hidden button (;-)) to save the text_type backed at the server and make it available to the js code, then I set the language.

Abrazo.

Damián