Added new features

1. Sidebar AppName error fixed
2. can open multiple  apps. one will closed after opening another one
3. when exiting to the home, editor variables and tree view reset
4. while chainging apps, tree get resetted first.
5. CreateNewApp pop-up automatically close after creating an app.