Change interrupt function