This is a first attempt to fix the problem of IllegalStateExceptions when commiting FragmentTransactions after the Activity was paused.