implement the auto next song function.