Fixing checkbox logic in settings screen

Using ng-click in checkboxes was not behaving as expected. Replaced with ng-change and fixed logic in controllers.