FIX: prevent executing the $apply when another is in progress
Merge pull request #5 from crysfel/master

FIX: prevent executing the $apply when another is in progress