Fix checkmark logic when Restrict dangerous is not set
Fixed method layout in ActivityApp
Merge pull request #1307 from jpeg729/bugfix

Bugfixes