Merge pull request #2 from vikramwakade/master

Fixed the screen rotation issue
Added database support