Fix: should not quit on click of `apply` button