Update application.py

Add loop when playing music.