Handling a callback function which is called after cropping is added.