Project settings
Merge remote-tracking branch 'origin'
Added check that makes sure the previous event isnt the same as the one that is about to be inserted