Change interrupt logic