I\'m trying to run a code that use the same function that triggered based on time to show a photo instead of the main photo. its working fine for the first time calling the