Fixed update of setting in UI