Added mediaplayer exception management and gradient background in landscape layout