changed disableAction() and enableAction()