automatic swtich of playmode and resume mode if we are a track