Added sdcard permissions and avoid seting the render mode.