change onstop to onstatechange for play background sound