Fix tiapp.xml removing