Add: `BeforeFullscreenStateChanged` event

It is usefull for saving style
Merge branch 'push_beforefullscreen'