fix fragment retain and configuration change