change settings-checkbox if statement for multiple usages