Fix Fragment Dialog Show or Dismiss Error Since CheckStateLoss Before onSaveInstance
Fix Fragment Commit Bug. Add Check Null For Tabhost setup
Fix Db operation bug. Add check null and close the cursor