Nikolay Sivov : mf: Add support for end of presentation state change.