Try to put it in onResume()?