Ver 4.0.0
Fix bug and add change device funciton when rotation screen.