1. clean up the tasks and dialogs for Activity
2. deleted Observers when onDestory