fix possible crash in headlinesfragment.refresh if invoked when fragment
is not yet initialized