Fixed global application setting not sticking

Closes #1164