A RefreshStateSubscriber class has been added to handle system events with methods for subscribing, unsubscribing, and starting/stopping event listening, providing better control over event-based actions. How to use please?