Change interrupt disable&enable

slight change on how interrupt can be triggered, to make the program
more realistic