Few fixes to new version of TextEditor. Added restoring an old value after double click on another cell and a number of tests.