Nullpointer exception fix for Ui-test.
Merge branch 'FormulaEditorMaster' of https://github.com/Catrobat/Catroid into FormulaEditorMaster