Changes on video options cause compilation of shaders on exit only

Issue #512

Recompile happens on clicking the Back Button. Hope, that there are no other hooks to exit the settings screen ;-)