Register sensor listener in onResume