fix some bugs in sub app manager

- rename Alter to Edit
- fix bugs with creating and deleting item