Fixed onResume call in demo for fragments