Don't release local application
Release TextHandler instead of XmlHandler
Revert "Release TextHandler instead of XmlHandler"

This reverts commit e48086fe9db2cd881c5c82b9d60f9a72b55180c1.
Don't remove XmlHandler anymore