add protocol with optional method for springViewStateDidChange