Added function to retrieve autoplay toggle from storage