PostDetail: check for activity != null

avoid NullPointerException when the load() finishes after activity
closed.