Fix onResume for inventory