always call callback when apply button is pressed