Reverted tiapp.xml and fixed grammar