How do I Enable/Disable Autoplay when the App Opens?