Add code GrammarActivity