Add posibility to fire callback on apply event