Fixing the drag events not applied on the newly added tasks