FIX: If check for successful response for HeadlessFragment.java