Fix stop playing bug to change screen state.