If you are pausing the game at the same time, then input is being frozen because the Player Controller is not receiving events. The simple way of handling this IMO (keeping on/off stuff in the same class) can be done by selecting your Action Mapped event for unpause in the Player Controller and Select “Execute when Paused” in the properties.
For reference: http://i.imgur.com/uGTbwly.png