Disable navbar options if force navbar option is not enabled

Implement it programmatically instead