onProfileToolClosed
onProfileToolClosed()
This callback function is called when the profile tool is closed.