Updated function for changing Gif after countdown