Created save_music() to save music history for later use.