Fixed error of disabling actions after saving a new action