Fixed issue where fragments would not refresh after screen rotation.