Act on category unchecked if restrict dangerous enabled, highlight category and method name

Closes #1246