Called when the fragment is visible to the user and actively running. Updates the enabled state of the OK button based on the current input.