added song selection database write