use commitAllowingStateLoss() in onHeadlinesLoaded because it could be
called after activity stop