I have a script that is supposed to automatically change the picture on a button. When I refresh my frame manually the picture shows up normally, but when the script does it