Implemented AutoPlaying
changed the screen oriontation of plyactivity