refreshUI method, bug fix with draw enabled resetting nsuserdefaults