Added new way of exiting the Store state