fix bug: when switch between different fragments, the fragment's status will lost, and recreate the view