Added the testEditFormula and fixed the keyboard bug