Call a function when focused screen changes | React Navigation