add handleApplyClick callback for details view