Added a switch to enable/disable all application restrictions