If you are ever going to have a single level only, it’s fine to handle global variables and saving in the Game Mode. Although you’ll hear that it is more reasonable to do it in the Game Instance as it persists throughout the game session.
To be perfectly honest, unless your game is exceptionally simple, I’d dedicate a separate actor to inventory management and handle all things related there. But then again, it depends on the scope of what you’re creating.