Added inventory states/key press