Refactored. Also Adding items to Pantry is fixed.