making enabled flag togglable in the options